package com.lmqb.bean;

import java.math.BigDecimal;
import java.util.Date;


/*
 * 借款明细
 * */
public class LmLoan {
    private String loanNo; //借款订单号

    private Integer userId;  //用户ID

    private Integer bankId;  //银行卡ID

    private BigDecimal loanMoney;  //借款金额

    private Short loanDays;  //借款天数

    private BigDecimal loanRate;  //服务费比例

    private Integer loanTime;  //借款时间

    private Byte payStatus;  //打款状态:[0未打款;1打款中;2支付成功;3支付失败]

    private Integer payTime;  //打款时间

    private Short overdueDays;  //逾期天数

    private BigDecimal totalInterest;  //应还总服务费

    private BigDecimal totalUninterest;  //减免总服务费

    private BigDecimal totalLatefee;  //累计滞纳金

    private BigDecimal repaymentCapital;  //已还款本金

    private BigDecimal repaymentInterest;  //已还款服务费

    private BigDecimal repaymentLatefee;  //已还款滞纳金

    private Integer repaymentSuccessTime;  //最后还款时间

    private Byte repayStatus;  //还款状态:[0待还款;1还款中;2还款成功;3提前还款]
    
    private Date loanTimeD;  
    
    private Date payTimeD;
    
    private Date repaymentSuccessTimeD;
    
    private String userName;
    
    private String remark;//备注。
    
    private Byte check1;
    
    private Byte check2;
    
    private Byte check3;
    
    private String adminName1;
    
    private String adminName2;
    
    private String adminName3;
    
    private String IDNum;

    public String getIDNum() {
		return IDNum;
	}

	public void setIDNum(String iDNum) {
		IDNum = iDNum;
	}

	public String getAdminName1() {
		return adminName1;
	}

	public void setAdminName1(String adminName1) {
		this.adminName1 = adminName1;
	}

	public String getAdminName2() {
		return adminName2;
	}

	public void setAdminName2(String adminName2) {
		this.adminName2 = adminName2;
	}

	public String getAdminName3() {
		return adminName3;
	}

	public void setAdminName3(String adminName3) {
		this.adminName3 = adminName3;
	}

	public Byte getCheck1() {
		return check1;
	}

	public void setCheck1(Byte check1) {
		this.check1 = check1;
	}

	public Byte getCheck2() {
		return check2;
	}

	public void setCheck2(Byte check2) {
		this.check2 = check2;
	}

	public Byte getCheck3() {
		return check3;
	}

	public void setCheck3(Byte check3) {
		this.check3 = check3;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getLoanTimeD() {
		return loanTimeD;
	}

	public void setLoanTimeD(Date loanTimeD) {
		this.loanTimeD = loanTimeD;
	}

	public Date getPayTimeD() {
		return payTimeD;
	}

	public void setPayTimeD(Date payTimeD) {
		this.payTimeD = payTimeD;
	}

	public Date getRepaymentSuccessTimeD() {
		return repaymentSuccessTimeD;
	}

	public void setRepaymentSuccessTimeD(Date repaymentSuccessTimeD) {
		this.repaymentSuccessTimeD = repaymentSuccessTimeD;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getLoanNo() {
        return loanNo;
    }

    public void setLoanNo(String loanNo) {
        this.loanNo = loanNo == null ? null : loanNo.trim();
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getBankId() {
        return bankId;
    }

    public void setBankId(Integer bankId) {
        this.bankId = bankId;
    }

    public BigDecimal getLoanMoney() {
        return loanMoney;
    }

    public void setLoanMoney(BigDecimal loanMoney) {
        this.loanMoney = loanMoney;
    }

    public Short getLoanDays() {
        return loanDays;
    }

    public void setLoanDays(Short loanDays) {
        this.loanDays = loanDays;
    }

    public BigDecimal getLoanRate() {
        return loanRate;
    }

    public void setLoanRate(BigDecimal loanRate) {
        this.loanRate = loanRate;
    }

    public Integer getLoanTime() {
        return loanTime;
    }

    public void setLoanTime(Integer loanTime) {
        this.loanTime = loanTime;
    }

    public Byte getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(Byte payStatus) {
        this.payStatus = payStatus;
    }

    public Integer getPayTime() {
        return payTime;
    }

    public void setPayTime(Integer payTime) {
        this.payTime = payTime;
    }

    public Short getOverdueDays() {
        return overdueDays;
    }

    public void setOverdueDays(Short overdueDays) {
        this.overdueDays = overdueDays;
    }

    public BigDecimal getTotalInterest() {
        return totalInterest;
    }

    public void setTotalInterest(BigDecimal totalInterest) {
        this.totalInterest = totalInterest;
    }

    public BigDecimal getTotalUninterest() {
        return totalUninterest;
    }

    public void setTotalUninterest(BigDecimal totalUninterest) {
        this.totalUninterest = totalUninterest;
    }

    public BigDecimal getTotalLatefee() {
        return totalLatefee;
    }

    public void setTotalLatefee(BigDecimal totalLatefee) {
        this.totalLatefee = totalLatefee;
    }

    public BigDecimal getRepaymentCapital() {
        return repaymentCapital;
    }

    public void setRepaymentCapital(BigDecimal repaymentCapital) {
        this.repaymentCapital = repaymentCapital;
    }

    public BigDecimal getRepaymentInterest() {
        return repaymentInterest;
    }

    public void setRepaymentInterest(BigDecimal repaymentInterest) {
        this.repaymentInterest = repaymentInterest;
    }

    public BigDecimal getRepaymentLatefee() {
        return repaymentLatefee;
    }

    public void setRepaymentLatefee(BigDecimal repaymentLatefee) {
        this.repaymentLatefee = repaymentLatefee;
    }

    public Integer getRepaymentSuccessTime() {
        return repaymentSuccessTime;
    }

    public void setRepaymentSuccessTime(Integer repaymentSuccessTime) {
        this.repaymentSuccessTime = repaymentSuccessTime;
    }

    public Byte getRepayStatus() {
        return repayStatus;
    }

    public void setRepayStatus(Byte repayStatus) {
        this.repayStatus = repayStatus;
    }

    
	public LmLoan() {
		super();
	}

	
	public LmLoan(String loanNo, Integer userId, Integer loanTime) {
		super();
		this.loanNo = loanNo;
		this.userId = userId;
		this.loanTime = loanTime;
	}

	@Override
	public String toString() {
		return "LmLoan [loanNo=" + loanNo + ", userId=" + userId + ", bankId="
				+ bankId + ", loanMoney=" + loanMoney + ", loanDays="
				+ loanDays + ", loanRate=" + loanRate + ", loanTime="
				+ loanTime + ", payStatus=" + payStatus + ", payTime="
				+ payTime + ", overdueDays=" + overdueDays + ", totalInterest="
				+ totalInterest + ", totalUninterest=" + totalUninterest
				+ ", totalLatefee=" + totalLatefee + ", repaymentCapital="
				+ repaymentCapital + ", repaymentInterest=" + repaymentInterest
				+ ", repaymentLatefee=" + repaymentLatefee
				+ ", repaymentSuccessTime=" + repaymentSuccessTime
				+ ", repayStatus=" + repayStatus + ", loanTimeD=" + loanTimeD
				+ ", payTimeD=" + payTimeD + ", repaymentSuccessTimeD="
				+ repaymentSuccessTimeD + ", userName=" + userName
				+ ", remark=" + remark + ", check1=" + check1 + ", check2="
				+ check2 + ", check3=" + check3 + ", adminName1=" + adminName1
				+ ", adminName2=" + adminName2 + ", adminName3=" + adminName3
				+ ", IDNum=" + IDNum + "]";
	}
    
    
}